<?php

namespace SisesporteAdmin\Controller;

use SisesporteAdmin\Form\ConsultarEstagiarioForm;
use SisesporteAdmin\Form\CadastrarEstagiarioForm;
use Zend\View\Model\ViewModel;

class EstagiarioController extends CrudController {

    public function indexAction(){
        $form = new ConsultarEstagiarioForm($this->getEm());
        return new ViewModel(array('form' => $form));
    }

    public function newAction(){
        $form = new CadastrarEstagiarioForm($this->getEm());
        return new ViewModel(array('form' => $form));
    }


}
